package com.example.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

// 记录日志
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author galen
 */
@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		Logger logger = LoggerFactory.getLogger(HelloWorld.class);
		//调用 sl4j 的 info() 方法，而非调用 logback 的方法
		 logger.info("Hello World");

		SpringApplication.run(Application.class, args);
	}

}
